﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Admin.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content3" ContentPlaceHolderID="FileImportContent" runat="server">
    
	<link rel="stylesheet" type="text/css" href="../../Scripts/uploadImages/jquery.ui.plupload/css/jquery.ui.plupload.css"/>

    <script type="text/javascript" src="../../Scripts/browserplus-min.js"></script>
	<script type="text/javascript" src="../../Scripts/uploadImages/plupload.js"></script>
    <script type="text/javascript" src="../../Scripts/uploadImages/plupload.gears.js"></script>
	<script type="text/javascript" src="../../Scripts/uploadImages/plupload.silverlight.js"></script>
	<script type="text/javascript" src="../../Scripts/uploadImages/plupload.flash.js"></script>
	<script type="text/javascript" src="../../Scripts/uploadImages/plupload.browserplus.js"></script>
	<script type="text/javascript" src="../../Scripts/uploadImages/plupload.html4.js"></script>
	<script type="text/javascript" src="../../Scripts/uploadImages/plupload.html5.js"></script>
	<script type="text/javascript" src="../../Scripts/uploadImages/jquery.ui.plupload/jquery.ui.plupload.js"></script>
    <script type="text/javascript" src="../../Scripts/caricaFoto.js"></script>
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	<%= ((MvcSite.Models.Album)ViewData["Album"]).Nome %>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    
    <div id="menu_categoria">
        <button id="aggiorna_button">Aggiorna</button>
        <button id="rinomina_button">Rinomina</button>
    </div>
	
	<h3>Gestisci le foto nella galleria <%= ((MvcSite.Models.Album)ViewData["Album"]).Nome %></h3>
    <%--<%: Html.ActionLink("Indietro", "Navigation", "Navigation")%>--%>
	<h4>Elenco Foto</h4>
    
	<table id="tabImmagini">
	</table>
    <div id='elimina'>Elimina Selezionati</div>
	<form  method="post" action="">
		<div id="uploader">
			<p>You browser doesn't have Flash, Silverlight, Gears, BrowserPlus or HTML5 support.</p>
		</div>
		<input id="categoria" type="hidden" value="<%= ((MvcSite.Models.Album)ViewData["Album"]).Id %>"/>
	</form> 
    

    <div id="renameAlbumForm" title="Crea un nuovo album">
         <form id="newAlbum" action=".">
            Vecchio nome: <%= ((MvcSite.Models.Album)ViewData["Album"]).Nome %><br/><br/>
            <label for="nomeAlbum">Nome nuovo album</label>
            <input type="text" name="newName" id="newName" old="<%= ((MvcSite.Models.Album)ViewData["Album"]).Id %>"/>
         </form>
         <div id="errorMessage"></div>
    </div>
</asp:Content>


